Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

kTweenTypeQDRegion

Input data: Two QuickDraw rectangles (data structures of type Rect) and either a kTweenRegionData atom that contains a QuickDraw region (a data structure of type Region ) or a kTweenPictureData atom that contains a QuickDraw picture (a data structure of type Picture ).

Output data: A QuickDraw region (a data structure of type Region ).

How interpolation is performed: The two QuickDraw rectangles are interpolated as in a kTweenTypeQDRect tween: each of the four coordinate values used to specify a QuickDraw rectangle ( r, l, b, t ) is interpolated separately from the others. If the input data includes a kTweenRegionData atom, the QuickDraw region contained in the atom is mapped into the resulting rectangle. If the input data includes a kTweenPictureData atom, the QuickDraw picture contained in the atom is drawn into the resulting rectangle.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |